<template>
  <div>
    <a-card :bordered="false" title="我的活动" :bodyStyle="{'padding':'20px 24px'}">
      <!-- <div style="margin-bottom:20px;"> -->
      <!-- 我的活动 -->
      <!-- <a-button @click="$router.push({name:'activityTemplateCenter'})">跳转</a-button> -->
      <!-- <a-button @click="showModel">看弹窗</a-button> -->
      <!-- </div> -->
      <mineActivityChild v-on:edit="edit" />
    </a-card>
    <look-active ref="active" @again="showAgain"></look-active>
  </div>
</template>

<script>
import lookActive from '@/components/activity'
import mineActivityChild from './child/mineActivityChild'
export default {
  components: {
    lookActive,
    mineActivityChild,
  },
  data() {
    return {}
  },
  created() {},
  methods: {
    showModel() {
      this.$nextTick(() => {
        this.$refs.active.showModel()
      })
    },
    showAgain(data) {
      this.$nextTick(() => {
        this.$refs.active.showModel(data, 'edit')
      })
    },
    edit(data) {
      this.$refs.active.showModel(data, 'edit')
    },
  },
}
</script>
<style lang="less" scoped>
</style>